<template>
	<view @tap="tap" class="u-f-ac icon-wrapper">
		<view class="icon iconfont" :class="iconClasses"></view>{{num?num:desc}}
	</view>
</template>

<script>
	export default {
		props:{
			iconClasses: Array,
			num: Number,
			desc: String,
			
		},
		data() {
			return {
				
			};
		},
		methods:{
			tap(){
				this.$emit('iconTap')
			}
		}
	}
</script>

<style lang="scss">
.icon {
	color: #DCDCDC;
	font-size: 30upx;
	margin: 10upx;
}
</style>
